package com.example.demo01.Service.mobileService;

import com.example.demo01.Dao.mobileDao.UserInfoDao;
import com.example.demo01.Entity.mobileEntity.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoDao userInfoDao;

    /**
     * 根据用户名&密码获取用户的基本信息
     * @param account
     * @param password
     * @return
     */
    public List<UserInfo> getUserInfoInstanceByAccount(String account, String password) {return userInfoDao.getUserInfoInstanceByAccount(account,password);}

}
